package com.pan.kang;


public class SubscriberApplication {
    public static void main(String[] args) {
        PublisherExecutor executor = PublisherExecutor.build();
        executor.publishEvent(new QQMessage("这是一条QQ消息[早安，我的小公主！]"));
        executor.publishEvent(new WeiXinMessage("这是一条微信消息[午安，我的小公主！]"));
    }
}
